import 'dart:io';

Future<String> readFile(String filePath) async {
  try {
    File file = File(filePath);
    String content = await file.readAsString();
    return content;
  } catch (e) {
    throw "无法读取文件: $filePath，错误: $e";
  }
}
